﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AccountInfo.aspx.cs" Inherits="E1_eMart.AccountInfo" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Editting Your Profile</title>
    <link rel="stylesheet" href="../css/style.css">
    <style type="text/css">
        .newStyle1
        {
            border-style: inherit;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
<div id="header">
    <div id="logo">
        <a href="../index.aspx"><img src="../images/logo.png" alt="Our Logo" width="153"></a>
    </div>
    <div class="clear"></div>
    <hr>
    <h2>Edit Your Profile?</h2>
    <p style="font-size: 14px;">Making changes to your account?</p>
</div>
<div id="main_body">
<div id="main_form">
     
        <br>
        <div id="input_fname">
            <p>Full Name*:</p>
            <p>
                <asp:TextBox ID="tbName" runat="server"></asp:TextBox>
            </p>
         </div>
        
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tbName" ErrorMessage="Full name is not empty" 
            ForeColor="#FF3300"></asp:RequiredFieldValidator>
        
        <div id="input_lname">                                    
            <p>&nbsp;</p>
             <p>
                 &nbsp;</p>
        </div>

        <p>Day of Birth:</p>
       <asp:DropDownList ID="drdlThang" runat="server">
            <asp:ListItem>-Month-</asp:ListItem>
            <asp:ListItem>January</asp:ListItem>
            <asp:ListItem>February</asp:ListItem>
            <asp:ListItem Value="March"></asp:ListItem>
            <asp:ListItem>April</asp:ListItem>
            <asp:ListItem>May</asp:ListItem>
            <asp:ListItem>June</asp:ListItem>
            <asp:ListItem>July</asp:ListItem>
            <asp:ListItem>August</asp:ListItem>
            <asp:ListItem>September</asp:ListItem>
            <asp:ListItem>October</asp:ListItem>
            <asp:ListItem>November</asp:ListItem>
            <asp:ListItem>December</asp:ListItem>
        </asp:DropDownList>
        / <asp:DropDownList ID="drdlNgay" runat="server" Height="16px">
            <asp:ListItem>-Day-</asp:ListItem>
            <asp:ListItem>01</asp:ListItem>
            <asp:ListItem>02</asp:ListItem>
            <asp:ListItem>03</asp:ListItem>
            <asp:ListItem>04</asp:ListItem>
            <asp:ListItem>05</asp:ListItem>
            <asp:ListItem>06</asp:ListItem>
            <asp:ListItem>07</asp:ListItem>
            <asp:ListItem>08</asp:ListItem>
            <asp:ListItem>09</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>13</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>17</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>19</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>21</asp:ListItem>
            <asp:ListItem>22</asp:ListItem>
            <asp:ListItem>23</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
            <asp:ListItem>25</asp:ListItem>
            <asp:ListItem>26</asp:ListItem>
            <asp:ListItem>27</asp:ListItem>
            <asp:ListItem>28</asp:ListItem>
            <asp:ListItem>29</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>31</asp:ListItem>
        </asp:DropDownList>
        / <asp:DropDownList ID="drdlNam" runat="server">
            <asp:ListItem>-Year-</asp:ListItem>
            <asp:ListItem>1993</asp:ListItem>
            <asp:ListItem>1992</asp:ListItem>
            <asp:ListItem>1991</asp:ListItem>
            <asp:ListItem>1990</asp:ListItem>
            <asp:ListItem>1989</asp:ListItem>
            <asp:ListItem>1988</asp:ListItem>
            <asp:ListItem>1987</asp:ListItem>
            <asp:ListItem>1986</asp:ListItem>
            <asp:ListItem>1985</asp:ListItem>
            <asp:ListItem>1984</asp:ListItem>
            <asp:ListItem>1983</asp:ListItem>
            <asp:ListItem>1982</asp:ListItem>
            <asp:ListItem>1981</asp:ListItem>
            <asp:ListItem>1980</asp:ListItem>
        </asp:DropDownList>
&nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" 
            ControlToValidate="drdlNgay" ErrorMessage="Day not selected" 
            Operator="DataTypeCheck" Type="Integer" ForeColor="#FF3300"></asp:CompareValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:CompareValidator ID="CompareValidator2" runat="server" 
            ControlToValidate="drdlNam" ErrorMessage="Year not selected" 
            Operator="DataTypeCheck" Type="Integer" ForeColor="#FF3300"></asp:CompareValidator>
        <br />
        <br />
        <asp:DropDownList ID="drdlGioiTinh" runat="server">
            <asp:ListItem>Nữ</asp:ListItem>
            <asp:ListItem>Nam</asp:ListItem>
        </asp:DropDownList>
        <p>Email*:</p>
        <asp:TextBox ID="tbEmail" runat="server" Width="220px"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ControlToValidate="tbEmail" ErrorMessage="improperly formatted email" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
            ForeColor="#FF3300"></asp:RegularExpressionValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
            ControlToValidate="tbEmail" ErrorMessage="not enter email" ForeColor="Red"></asp:RequiredFieldValidator>
        <p>Repeat Email*:</p>
        <asp:TextBox ID="tbRepeatEmail" runat="server" Width="220px"></asp:TextBox>
&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
            ControlToValidate="tbRepeatEmail" ErrorMessage="improperly formatted email" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
            ForeColor="#FF3300"></asp:RegularExpressionValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:RequiredFieldValidator 
            ID="RequiredFieldValidator7" runat="server" ControlToValidate="tbRepeatEmail" 
            ErrorMessage="not enter email" ForeColor="Red"></asp:RequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:CompareValidator ID="CompareValidator4" runat="server" 
            ControlToCompare="tbEmail" ControlToValidate="tbRepeatEmail" 
            ErrorMessage="enter email is not identical" ForeColor="#FF3300"></asp:CompareValidator>
        <p>Address:</p>
    <p>
          <asp:TextBox ID="tbAddress" runat="server" Width="220px"></asp:TextBox>
&nbsp;</p>
    <p>Phone number:</p>
    <p>
        <asp:TextBox ID="tbPhone" runat="server" Width="220px"></asp:TextBox>
&nbsp;</p>
    <fieldset id ="credit" class="clearfix">
	<legend class="ftoggler">Change credit card</legend>
    <p>Cardholder name:</p>
    <p>
        <asp:TextBox ID="tbCardName" runat="server" Width="220px"></asp:TextBox>
&nbsp;</p>
    <p>Credit card number: </p>
    <p>
        <asp:TextBox ID="tbCreditNumber" runat="server" Width="220px"></asp:TextBox>
&nbsp;</p>
    <p>Expiry date:</p>
    <p>
        <asp:DropDownList ID="drdlThang0" runat="server">
            <asp:ListItem>-Month-</asp:ListItem>
            <asp:ListItem>01</asp:ListItem>
            <asp:ListItem>02</asp:ListItem>
            <asp:ListItem>03</asp:ListItem>
            <asp:ListItem>04</asp:ListItem>
            <asp:ListItem>05</asp:ListItem>
            <asp:ListItem>06</asp:ListItem>
            <asp:ListItem>07</asp:ListItem>
            <asp:ListItem>08</asp:ListItem>
            <asp:ListItem>09</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>13</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>17</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>19</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>21</asp:ListItem>
            <asp:ListItem>22</asp:ListItem>
            <asp:ListItem>23</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
            <asp:ListItem>25</asp:ListItem>
            <asp:ListItem>26</asp:ListItem>
            <asp:ListItem>27</asp:ListItem>
            <asp:ListItem>28</asp:ListItem>
            <asp:ListItem>29</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>31</asp:ListItem>
        </asp:DropDownList>
        <asp:DropDownList ID="drdlNam0" runat="server">
            <asp:ListItem>-Year-</asp:ListItem>
            <asp:ListItem>1993</asp:ListItem>
            <asp:ListItem>1992</asp:ListItem>
            <asp:ListItem>1991</asp:ListItem>
            <asp:ListItem>1990</asp:ListItem>
            <asp:ListItem>1989</asp:ListItem>
            <asp:ListItem>1988</asp:ListItem>
            <asp:ListItem>1987</asp:ListItem>
            <asp:ListItem>1986</asp:ListItem>
            <asp:ListItem>1985</asp:ListItem>
            <asp:ListItem>1984</asp:ListItem>
            <asp:ListItem>1983</asp:ListItem>
            <asp:ListItem>1982</asp:ListItem>
            <asp:ListItem>1981</asp:ListItem>
            <asp:ListItem>1980</asp:ListItem>
        </asp:DropDownList>
&nbsp;
    </p>
    <p>Card identification number:</p>
    <p>
        <asp:TextBox ID="tbCardIndenNumber" runat="server" Width="220px"></asp:TextBox>
&nbsp;</p>
    <p>&nbsp;</p>
    </fieldset>
      <fieldset id="moodle_interests" class="clearfix">
		<legend class="ftoggler">Change account info</legend>
		<p>Username*:</p>
		<p>
		    <asp:TextBox ID="tbUsername" runat="server" Height="22px" Width="220px"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="tbUsername" ErrorMessage="not enter username " 
                ForeColor="#FF3300"></asp:RequiredFieldValidator>
          </p>
		<p>Password*:</p>
		<p>
		    <asp:TextBox ID="tbPassword" runat="server" Width="220px" TextMode="Password"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="tbPassword" ErrorMessage="not enter password" 
                ForeColor="#FF3300"></asp:RequiredFieldValidator>
          </p>
		<p>Repeat Password*:</p>
		<p>
		    <asp:TextBox ID="tbRepeatPassword" runat="server" Width="220px" 
                TextMode="Password"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="tbRepeatPassword" 
                ErrorMessage="not enter repeat password" ForeColor="#FF3300"></asp:RequiredFieldValidator>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:CompareValidator ID="CompareValidator3" runat="server" 
                ControlToCompare="tbPassword" ControlToValidate="tbRepeatPassword" 
                ErrorMessage="enter password is not identical" ForeColor="#FF3300"></asp:CompareValidator>
          </p>
		<p>Current Avatar:<asp:Image ID="Image1" runat="server" Width="62px"                 
                onprerender="Page_Load" />
          </p>
		<p>
		    <asp:FileUpload ID="fuAvatar" runat="server" Width="267px" />
&nbsp;</p>
		<p>&nbsp; </p>
		<div class="advancedbutton"></div><div class="fcontainer clearfix">
		
		<div class="fitem">
		  <div class="fitemtitle"></div><div class="felement ftextarea"></div></div>
	</div></fieldset>
    <p>There are required fields in this form marked<img alt="Required field" src="http://courses.fit.hcmus.edu.vn/pix/req.gif">.</p>
        
        <asp:Button ID="btnOK" runat="server" Text="Update" onclick="btnOK_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
            UseSubmitBehavior="False" onclick="btnCancel_Click" />
  </div>
</div>
<div id="footer">
    <hr>
    <h4>Copyright &copy; 2011 eMart Inc. All rights reserved.</h4>
    <div id="about">
        <a href="../about.html"><h3>About</h3></a>
        <a href="../about.html"><h3>Contact Us</h3></a>
    </div>
</div>
    </form>
</body>
</html>